/*
 * $Id: User.java,v \$Revision$
 *
 * Copyright (c) Critical Software S.A., All Rights Reserved.
 * (www.criticalsoftware.com)
 *
 * This software is the proprietary information of Critical Software S.A.
 * Use is subject to license terms.
 *
 * Last changed on: $Date: \$Date$
 * Last changed by: $Author: trsimoes $
 */
package org.eden.karb.sandbox.monsoon;

import org.jthompson.monsoon.annotations.Event;
import org.jthompson.monsoon.annotations.Event.EventType;

/**
 * <description>
 *
 * @author trsimoes
 * @version $Revision:$
 */
public class UserDispatcher {

    private User user;

    public UserDispatcher() {
        user = new User();
    }

    @Event(name = "saveUser", type = EventType.DISPATCHER)
    public User save(String name) {
        user.setName(name);
        return user;
    }
}
